package com.xx.jdbc;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;

/**
 * @author 3489309323@qq.com
 * @create 2020-06-01-18:41
 */
public class Jdbc {
  public static void main(String[] args) throws ClassNotFoundException, SQLException {
    // 加载驱动类
    Class.forName("com.mysql.jdbc.Driver");
    Connection connection = DriverManager.getConnection("xxx", "root", "xxxx");


  }
}
